﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lib
{
    public class FrequentItem
    {
        public List<TransactionValue> Name { get; set; }
        public double Supp { get; set; }

        public FrequentItem() {
            Name = new List<TransactionValue>();            
        }

        public override string ToString()
        {
            string s = "";
            foreach (var item in Name)
            {
                s += item.AttName + ": " + item.Name + "\t";

            }
            return s + Supp;

        }
    }
}
